//  Created by <Omar MALAGOUEN>

//  Copyright 2011 All rights reserved.
//

/*
 * Various utilities for command line tools
 * Copyright (c) 2000-2010 Omar Malagouen
 *
 * This file is part of Kakola.
 *
 * Kakola is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * Kakola is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with Kakola; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef CPROFILE_H
#define CPROFILE_H

#include <QFile>
#include <QTextStream>
#include <QSettings>
#include <QStringList>
#include <QFileInfo>
#include <qdir.h>
#include <stdlib.h>
#include <QCoreApplication>
#include "common.h"

class CProfile

{
public:
    CProfile();
    //CProfile(CProfile*);
    void getCProfileFromFile(QString);
    bool programContainString(QString);
    //QString getOptionValue(QString ,QString );

public:
    QString description;
    QList<QString*> listCommand;
    QString program[100];
    QString extension; // Extension of the output file
    QString outputDir; // Output directory for the output file
    QString filename; //  File name of the profile
    QString dirname; //  Dir name of the profile
    QString prefix;
    QString suffix;
    QString eventFolderName;
    QString group;
    QString popupDone;
    QString popupDoneMsg;
    int coef;

};

#endif // CPROFILE_H

